using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerAnimatorEvents : MonoBehaviour
{
    PlayerOld player;
    // Start is called before the first frame update
    void Start()
    {
        player = GetComponentInParent<PlayerOld>();
    }

    void AttackOver()
    {
        if (player != null) { player.AttackOver(); }
    }
}
